import { ref } from 'vue'

import { curHomeTarbarKey } from '../../tab-bar/data'

const showGuideQuizMask = ref(false)

export { showGuideQuizMask }

/**
 * 关闭签到
 */
const close = (nav: boolean) => {
  nav && (curHomeTarbarKey.value = 'quiz')

  showGuideQuizMask.value = false
}

export { close }
